Viewport.getRotation

Gets the current rotation

class Viewport
double
getRotation
()

Return Value

Type: double

the current rotation

Meta